@import 'public';

// 头部
.cart-head{
    background-color: #fff;
    border-bottom: 2px solid $color;
    height: 100px;
    .wrapper{
        height: 80px;
        .iconfont{
            display: inline-block;
            margin-top: 26px;
            margin-right: 30px;
            font-size: 48px;
            color: $color;
        }
        .mini-title{
            display: inline-block;
            vertical-align: top;
            margin-top: 26px;
            h2{
                font-size: 28px;
                color: #424242;
                display: inline-block;
                font-weight: normal;
            }
            p{
                display: inline-block;
                font-size: 12px;
                margin: 20px 0 0 15px;
                color: #757575;
            }
        }
        .cart-log-reg{
            display: inline-block;
            margin-top: 30px;
            float: right;
            a{
                padding: 0 5px;
                font-size: 12px;
                color: #757575;
                
            }
            span{
                color: #757575;
            }
        }
        
    }
}

// 主体
.cart-main{
    background-color: #F5F5F5;
    padding: 30px 0;
    .wrapper{
        .cart-content{
            .cart-list{
                background-color: #fff;
                .cart-title{
                    height: 70px;
                    padding-right: 26px;
                    border-bottom: 1px solid #E0E0E0;
                    display: flex;
                    div{
                        text-align: center;
                        line-height: 70px;
                        font-size: 14px;
                        color: #424242;
                        flex: 1;
                    }
                    #cheAll{
                        display: none;
                    }
                    label{
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        border: 1px solid #E0E0E0;
                        // background: url(../img/bg.png) -1px -1px/20px 20px no-repeat;
                        margin:0px 24px 0 15px;
                        
                    }
                    
                }
                .cart-body{
                    .list-item{
                        padding:15px 26px 15px 0;
                        height: 100px;
                        border-bottom: 1px solid #E0E0E0;
                        display: flex;
                        div{
                            text-align: center;
                            line-height: 80px;
                            font-size: 14px;
                            color: #424242;
                            flex: 1;
                        }
                        .che{
                            display: none;
                        }
                        label{
                            display: inline-block;
                            width: 20px;
                            height: 20px;
                            border: 1px solid #E0E0E0;
                            // background: url(../img/bg.png) -1px -1px/20px 20px no-repeat;
                            margin:0px 24px 0 15px;
                        }
                        img{
                            width: 80px;
                            height: 80px;
                        }
                        .good-num{
                            
                            span{
                                display: inline-block;
                                width: 38px;
                                height: 38px;
                                border: 1px solid #E0E0E0;
                                // font-size: 26px;
                                line-height: 38px;
                            }
                            input{
                                width: 72px;
                                height: 38px;
                                border: 1px solid #E0E0E0;
                                text-align: center;
                            }
                        }
                        
                    }
                    
                }
            }
            .cart-bar{
                height: 50px;
                background-color: #fff;
                margin-top: 20px;
                .bar-left{
                    line-height: 50px;
                    display: inline-block;
                    a{
                        font-size: 14px;
                        color: #757575;
                        margin-left: 32px;
                    }
                    .num-text{
                        font-size: 14px;
                        color: #757575;
                        margin-left: 16px;
                        padding-left: 16px;
                        border-left: 1px solid #757575;
                    }
                    .select-num{
                        color: $color;
                    }
                }
                .bar-right{
                    float: right;
                    display: inline-block;
                    .total{
                        display: inline-block;
                        .money-text{
                            font-size: 14px;
                            padding-left: 13px;
                            color: $color;
                            .select-money{
                                font-size: 30px;
                                color: $color;
                            }
                        }
                    }
                    .settlement{
                        display: inline-block;
                        width: 200px;
                        height: 48px;
                        line-height: 48px;
                        margin-left: 50px;
                        font-size: 18px;
                        background-color: $color;
                        text-align: center;
                        color: white;

                    }
                }
            }
        }

    }
}